package com.banshuibao.bsb_android.model;

import java.util.List;

/**
 * Created by wangpan on 2017/12/18.
 */

public class ExpertTreeModel {

    /**
     * code : 1
     * des : 请求成功
     * data : [{"uuid":"1","name":"行业","pid":"0","level":1,"children":[{"uuid":"10","name":"建筑与房地产","pid":"1","level":10,"children":null},{"uuid":"20","name":"软件与高新技术","pid":"1","level":20,"children":null},{"uuid":"30","name":"医药","pid":"1","level":30,"children":null},{"uuid":"40","name":"酒店业","pid":"1","level":40,"children":null},{"uuid":"50","name":"物业服务业","pid":"1","level":50,"children":null},{"uuid":"60","name":"金三实务","pid":"1","level":60,"children":null}]},{"uuid":"2","name":"税种","pid":"0","level":2,"children":[{"uuid":"310","name":"增值税","pid":"2","level":310,"children":null},{"uuid":"320","name":"消费税","pid":"2","level":320,"children":null},{"uuid":"330","name":"资源税","pid":"2","level":330,"children":null},{"uuid":"340","name":"车辆购置税","pid":"2","level":340,"children":null},{"uuid":"350","name":"关税","pid":"2","level":350,"children":null},{"uuid":"360","name":"企业所得税","pid":"2","level":360,"children":null},{"uuid":"370","name":"个人所得税","pid":"2","level":370,"children":null},{"uuid":"380","name":"土地增值税","pid":"2","level":380,"children":null},{"uuid":"390","name":"印花税","pid":"2","level":390,"children":null},{"uuid":"400","name":"房产税","pid":"2","level":400,"children":null},{"uuid":"410","name":"车船税","pid":"2","level":410,"children":null},{"uuid":"420","name":"契税","pid":"2","level":420,"children":null},{"uuid":"430","name":"城镇土地使用税","pid":"2","level":430,"children":null},{"uuid":"440","name":"耕地占用税","pid":"2","level":440,"children":null},{"uuid":"450","name":"烟叶税","pid":"2","level":450,"children":null}]},{"uuid":"3","name":"专题","pid":"0","level":3,"children":[{"uuid":"610","name":"会计准则","pid":"3","level":610,"children":null},{"uuid":"620","name":"高新技术","pid":"3","level":620,"children":null},{"uuid":"630","name":"营改增","pid":"3","level":630,"children":null},{"uuid":"640","name":"纳税筹划","pid":"3","level":640,"children":null},{"uuid":"650","name":"股权激励","pid":"3","level":650,"children":null},{"uuid":"660","name":"税务稽查","pid":"3","level":660,"children":null},{"uuid":"670","name":"内部审计","pid":"3","level":670,"children":null},{"uuid":"680","name":"风险内控","pid":"3","level":680,"children":null},{"uuid":"690","name":"预算管理","pid":"3","level":690,"children":null},{"uuid":"700","name":"新三板","pid":"3","level":700,"children":null}]}]
     * sinceId : 0
     * rows : 0
     * maxId : 0
     */

    private String code;
    private String des;
    private int sinceId;
    private int rows;
    private int maxId;
    private List<DataBean> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    public int getSinceId() {
        return sinceId;
    }

    public void setSinceId(int sinceId) {
        this.sinceId = sinceId;
    }

    public int getRows() {
        return rows;
    }

    public void setRows(int rows) {
        this.rows = rows;
    }

    public int getMaxId() {
        return maxId;
    }

    public void setMaxId(int maxId) {
        this.maxId = maxId;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * uuid : 1
         * name : 行业
         * pid : 0
         * level : 1
         * children : [{"uuid":"10","name":"建筑与房地产","pid":"1","level":10,"children":null},{"uuid":"20","name":"软件与高新技术","pid":"1","level":20,"children":null},{"uuid":"30","name":"医药","pid":"1","level":30,"children":null},{"uuid":"40","name":"酒店业","pid":"1","level":40,"children":null},{"uuid":"50","name":"物业服务业","pid":"1","level":50,"children":null},{"uuid":"60","name":"金三实务","pid":"1","level":60,"children":null}]
         */

        private String uuid;
        private String name;
        private String pid;
        private int level;
        private List<ChildrenBean> children;

        public String getUuid() {
            return uuid;
        }

        public void setUuid(String uuid) {
            this.uuid = uuid;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPid() {
            return pid;
        }

        public void setPid(String pid) {
            this.pid = pid;
        }

        public int getLevel() {
            return level;
        }

        public void setLevel(int level) {
            this.level = level;
        }

        public List<ChildrenBean> getChildren() {
            return children;
        }

        public void setChildren(List<ChildrenBean> children) {
            this.children = children;
        }

        public static class ChildrenBean {
            /**
             * uuid : 10
             * name : 建筑与房地产
             * pid : 1
             * level : 10
             * children : null
             */

            private String uuid;
            private String name;
            private String pid;
            private int level;
            private Object children;

            public String getUuid() {
                return uuid;
            }

            public void setUuid(String uuid) {
                this.uuid = uuid;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPid() {
                return pid;
            }

            public void setPid(String pid) {
                this.pid = pid;
            }

            public int getLevel() {
                return level;
            }

            public void setLevel(int level) {
                this.level = level;
            }

            public Object getChildren() {
                return children;
            }

            public void setChildren(Object children) {
                this.children = children;
            }
        }
    }
}
